<?php 

// get data from POST
// send mail to email address

?>

<div data-role="page" id="subscribe">
    <div data-role="header"  data-backbtn="false">
        <h1>Grazie</h1>
        <a href="home.php" data-icon="home" class="ui-btn-right">home</a>
    </div>
    
    <div data-role="content">
        <h2>Grazie <?php echo $_POST['nome']; ?> .</h2>
        Hai appena inviato una mail a <?php echo $_POST['email_friend']; ?> per invitarlo a giftshake.it 
    </div>
</div>
